package com.manor.paradise.bean;

import java.math.BigDecimal;
import java.util.List;

public class Replacement {

    /**
     * current : 0
     * pages : 0
     * records : [{"createTime":"","crystalOre":0,"sdCoupons":0,"transType":0,"type":0,"unit":0}]
     * searchCount : true
     * size : 0
     * total : 0
     */

    private int current;
    private int pages;
    private boolean searchCount;
    private int size;
    private int total;
    private List<RecordsBean> records;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class RecordsBean {
        /**
         * createTime :
         * crystalOre : 0
         * sdCoupons : 0
         * transType : 0
         * type : 0
         * unit : 0
         */

        private String createTime;
        private BigDecimal crystalOre;
        private BigDecimal sdCoupons;
        private int transType;
        private int type;
        private BigDecimal unit;

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public BigDecimal getCrystalOre() {
            return crystalOre;
        }

        public void setCrystalOre(BigDecimal crystalOre) {
            this.crystalOre = crystalOre;
        }

        public BigDecimal getSdCoupons() {
            return sdCoupons;
        }

        public void setSdCoupons(BigDecimal sdCoupons) {
            this.sdCoupons = sdCoupons;
        }

        public int getTransType() {
            return transType;
        }

        public void setTransType(int transType) {
            this.transType = transType;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public BigDecimal getUnit() {
            return unit;
        }

        public void setUnit(BigDecimal unit) {
            this.unit = unit;
        }
    }
}
